package com.loyalove.demo.akka

case class RegisterWorkerInfo(
                               workId: String,
                               core: Int,
                               ram: Int
                             )

case class WorkerInfo(
                       workId: String,
                       core: Int,
                       ram: Int,
                       var time : Long = 0
                     )

case class RegisteredWorkerInfo(
                                 workId: String,
                                 core: Int,
                                 ram: Int
                               )

case class SendHeartbeat()

case class Heartbeat(workId: String)

case class CheckTimeoutWorkerTask()

case class CheckTimeoutWorker()
